import request from './api'
//记录学习时间
export function dqtimes (data) {
  return request({
    url: '/Chat/chat/dqtimes',
    method: 'post',
    data
  })
}
//章节详情
export function button_gochapter (data) {
  return request({
    url: '/Chat/chat/button_gochapter',
    method: 'post',
    data
  })
}
//获取学习次数
export function school_number (data) {
  return request({
    url: '/Chat/chat/school_number',
    method: 'post',
    data
  })
}
//人气推荐
export function search_popularity (data) {
  return request({
    url: '/Chat/chat/search_popularity',
    method: 'post',
    data
  })
}


// 获取评论
export function comment_list (data) {
  return request({
    url: '/Chat/chat/comment_list',
    method: 'post',
    data
  })
}
// 获取章节列表
export function class_list (data) {
  return request({
    url: '/Chat/chat/class_list',
    method: 'post',
    data
  })
}
// 用户发送评论
export function go_content (data) {
  return request({
    url: '/Chat/chat/go_content',
    method: 'post',
    data
  })
}
//获取收藏
export function user_ke (data) {
  return request({
    url: '/Chat/chat/user_ke',
    method: 'post',
    data
  })
}
//收藏
export function collection_onclick (data) {
  return request({
    url: '/Chat/chat/collection_onclick',
    method: 'post',
    data
  })
}